Skip to content

Default blockToHTML values for article and section#184

Open
Nik7A wants to merge 1 commit intoHubSpot:masterfrom
Nik7A:patch-1
Open

Default blockToHTML values for article and section#184
Nik7A wants to merge 1 commit intoHubSpot:masterfrom
Nik7A:patch-1

Conversation

@Nik7A
Copy link

@Nik7A Nik7A commented Apr 7, 2021

draft-js already has support for article and section blocks (facebookarchive/draft-js#2212). Due to the lack of support for these blocks from draft-convert, this results in an error:

convertToHTML: missing HTML definition for block with type section.

image

`draft-js` already has support for article and section blocks(facebookarchive/draft-js#2212). Due to the lack of support for these blocks from draft-convert, this results in an error: convertToHTML: missing HTML definition for block with type section
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant